package com.google.code.irouter.utils;

public final class ClassUtil {
	
	public static String getLowerClassName(Class<?> cls){
		return cls.getSimpleName().toLowerCase();
	}
	
	public static Object getNewInstance(String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException{
		Class<?> cls = Class.forName(className);
		return cls.newInstance();
	}

}
